package dev.ece.core.cells.model.base;

import dev.ece.util.lib.Vector2f;

public class FboUI extends SquareUI<Float> {

	public FboUI(float width, float height) {
		super(width, height);
	}

	@Override
	protected void setup() {
		//fbo的图片纹理是颠倒的，需要重新设置纹理坐标
		Vector2f[] uv = this.getUv();
		uv[0].set(0, 1);
		uv[1].set(0, 0);
		uv[2].set(1, 1);
		uv[3].set(1, 0);
		super.setup();
	}

}
